package com.atguigu.a_difference;

public class Demo {
    public static void main(String[] args) {
        //for循环
        for (int i = 0; i < 10; i++) {

        }

        for (int i = 0; i < 20; i++) {

        }

        //while循环 和do while循环的初始化语句在循环结构的外部
        int x = 0;
        while(x < 10){
            //,...
        }
    }
}
